Process config files as golang templates#42
Conversation
|
Fixes #40 |
|
@free any thoughts about this? |
|
Apologies for the delay. Would it be possible to have a test for this? May also be useful as documentation. |
|
Sure. Do you have a template for this? I can't seem to find any tests in the repo. |
Yeah, that's because there aren't any. )o: But it's never too late to add some. Just go wild and maybe I'll follow suit when I can find some time. |
|
@free I think I'll take care of these tests, so will provide them soon for you to take a look. The template works well, so in Kubernetes use case, for example, we can keep connection strings with passwords out of config. :) |
|
Is this going to be merged anytime soon? |
|
➕ I'd love this functionality too |
Environment variables are available inside the template. Existing functionality is unchanged - the template execution is a no-op if the template is plain yml